package jinzhi1.binary.binary.lib;

public class Test {
    public static void main(String[] args) {


//        Hex hex = new Hex("AA");
//        System.out.println(hex.toOct());
//        System.out.println(hex.toDec());
//        System.out.println(hex.toHex());
//        System.out.println(hex.toBin());

        Bin bin =new Bin("1010");
//        System.out.println(bin.toHex());
//        System.out.println(bin.toDec());
        System.out.println(bin.toOct());
//        System.out.println(bin.toBin());

        Dec dec =new Dec(170);
//        System.out.println(dec.toHex());
//        System.out.println(dec.toDec());
//        System.out.println(dec.toOct());
        System.out.println(dec.toBin());

//        Oct oct =new Oct(252);
//        System.out.println(oct.toHex());
//        System.out.println(oct.toDec());
//        System.out.println(oct.toOct());
//        System.out.println(oct.toBin());


    }
}
